import request from '@/utils/request'
// 环境告警信息
export function alarmInfo (params) {
  return request({
    url: '/home/alarminfo',
    method: 'get',
    params
  })
}
// 全国智慧工地信息
export function enterprises (params) {
  return request({
    url: '/home/enterprises',
    method: 'get',
    params
  })
}
// 省市分布
export function provinceCity (params) {
  return request({
    url: '/home/province_city',
    method: 'get',
    params
  })
}
// 省市智慧工地状况
export function provinceTotal (params) {
  return request({
    url: '/home/province_total',
    method: 'get',
    params
  })
}
// 省环境变化趋势
export function provinceTrend (params) {
  return request({
    url: '/home/province_tred',
    method: 'get',
    params
  })
}
// 智慧工地排名top5
export function top (params) {
  return request({
    url: '/home/top',
    method: 'get',
    params
  })
}
// 全国智慧工地状况
export function total (params) {
  return request({
    url: '/home/total',
    method: 'get',
    params
  })
}
// 全国环境变化趋势
export function trend (params) {
  return request({
    url: '/home/tred',
    method: 'get',
    params
  })
}
